package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TiTnl;
import com.tjmc.tiomscore.model.TiTnlExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TiTnlMapper extends TranPtnHwSuperMapper<TiTnl> {
    long countByExample(TiTnlExample example);

    int deleteByExample(TiTnlExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TiTnl record);

    int insertSelective(TiTnl record);

    List<TiTnl> selectByExample(TiTnlExample example);

    TiTnl selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TiTnl record, @Param("example") TiTnlExample example);

    int updateByExample(@Param("record") TiTnl record, @Param("example") TiTnlExample example);

    int updateByPrimaryKeySelective(TiTnl record);

    int updateByPrimaryKey(TiTnl record);
}